using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using EZCRS.HCMS.DataAcl;
using EZCRS.HCMS.Bll.userinfo;

namespace EZCRS.HCMS.Web.manage.users
{
    public partial class role_list : ManageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                CheckModule(8);
                Titlepage1.initlabnew = "<a href=\"role_add.aspx\"><img src=\"../../image/new.gif\" border=0></a>";
                //ImgReturn.Attributes.Add("onclick", "history.back();return false;");
                getdata();
                SetDataBind();
            }
        }
        protected override void DataBindTableList()
        {
            getdata();
            base.DataBindTableList();
        }

        private void getdata()
        {
            Blluser AU = new Blluser();
            tableList = AU.Role_List(CurrentOrgId.ToString(), CurrentOrgType.ToString());
        }
    }
}
